﻿<!DOCTYPE html>
<html ng-app="demoApp">
<head>
    <title id="Description">jqxProgressBar directive for AngularJS</title>
    <link rel="stylesheet" type="text/css" href="../../jqwidgets/styles/jqx.base.css" />
    <script type="text/javascript" src="../../scripts/angular.min.js"></script>
    <script type="text/javascript" src="../../scripts/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script>
    <script type="text/javascript" src="../../jqwidgets/jqxdata.js"></script>
    <script type="text/javascript" src="../../jqwidgets/jqxprogressbar.js"></script>
    <script type="text/javascript" src="../../jqwidgets/jqxangular.js"></script>
    <script type="text/javascript" src="../../scripts/demos.js"></script>
    <script type="text/javascript">
        var demoApp = angular.module("demoApp", ["jqwidgets"]);

        demoApp.controller("demoController", function ($scope, $timeout) {
            $scope.value = 0;
            function progress() {
                $scope.value++;
                if ($scope.value < 99) {
                    $timeout(progress, 100);
                }
            }
            $timeout(progress, 100);
        });
    </script>
</head>
<body>
    <div ng-controller="demoController">
        <jqx-progress-bar ng-model="value" jqx-height="30" jqx-show-text="true" jqx-animation-duration="0" jqx-width="300"></jqx-progress-bar>
    </div>
</body>
</html>
